GetFirst Method (Messages Collection)
The GetFirst
method returns the first object in the collection. Returns Nothing if no
first object exists.
Syntax
Set objMessage
= objMsgColl.GetFirst( [filter] )
Parameters
objMessage
On successful
return, represents the first Message object in the collection.
objMsgColl
Required. The
Messages collection object.
filter
Optional.
String. Specifies the message class of the object, such as the default value,
IPM.Note. Corresponds to the Type property of the Message object.
Remarks
The Get methods
are similar to the Find and Move methods that are used with
Microsoft Access databases. The Get methods take a different name from
these methods because they use a different syntax.
See Also